dispose

abstract fun dispose()

Releases any resources held by this control and prepares it for removal or permanent deactivation.

After dispose() is called, the control should not be used further. This method should ensure that all internal resources (threads, listeners, native resources, etc.) are properly cleaned up to prevent memory leaks or other issues.

This is typically the final lifecycle method called for a control.